package com.ruoyi.student_club.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author lin
 * @Date 2022/2/16 9:42
 */
@Data
public class JoinDto {

    @NotNull(message = "请选择要加入的社团")
    private Long clubId;

    @NotBlank(message = "请填写姓名")
    private String name;

    @NotBlank(message = "请填写联系方式")
    private String phone;

    @NotNull(message = "请先登录")
    private Long userId;

}
